package com.atguigu.daijia.driver.config;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "wx.miniapp")
@Schema(description = "微信小程序配置类, 读取配置文件里的值")
public class WxConfigProperties {

    @Schema(description = "小程序微信公众平台appId")
    private String appId;

    @Schema(description = "小程序微信公众平台api秘钥")
    private String secret;
}
